import { cloneElement } from 'react'
const style = {
  width: '100%',
  paddingLeft: 20,
  paddingRight: 20
}
export default ({ children, renderer = <div /> }) =>{
  return cloneElement(renderer,{
    style: Object.assign({},style),
    children
  })
}
